@import '../../../style/default.less';

.contentBox {
    :global {
        .ant-spin-nested-loading > div >.ant-spin {
            max-height: 400px !important;
            background-color: transparent !important;
          }
    }
}

.formItems {
    :global {
        .ant-calendar-range-picker-input{
            width: 6em;
            text-align: left;
          }
          .ant-calendar-range-picker-separator{
            position: absolute;
            left:6em;
        }
    }
}
.brandColor{
    color:@primary-1;
}
.pointer{
    cursor: pointer;
}
.head {
    display: flex;
    > div {
        flex: 1
    }
    >div:nth-child(1) {
        flex: 3;
        text-align: left
    }
    > div:last-child {
        text-align: right
    }
}
.cancelModal {
    margin-top: 24px;
    :global {
        .ant-form-item-label{
            width: 0;
            margin-left: 24px;
        }
    }
}
 .changepriceModal {
     padding: 24px;
     :global {
        .ant-list-item {
            padding:0;
        }
        .ant-list-item-content {
            margin-bottom: 0;
        }
        .ant-list-item {
            border-bottom: 0
        }
        .ant-row{
            border-bottom: 1px solid #e8e8e8;
        }
     }
 }
 .rbBorder {
    height: 100%;
    border-right: 1px solid #e8e8e8;
    padding-left:8px;
    padding-right: 8px;
    .freeText {
        text-align: right;
        margin-right: 3px;
    }
    :global {
        .ant-form-item {
            margin-bottom: 0;
            text-align: right;
            padding-right: 4px;
        }
        .ant-row{
            border-bottom: 0 !important;
        }
    }
 }
 .nbBorder {
    height: 100%;
    padding-top: 24px;
    padding-right: 16px;
 }
 .list_item {
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    height: 80px;
    line-height: 72px;
    :global {
        .ant-form-item {
            margin-bottom: 0;
        }
        .ant-form-item-control-wrapper {
            margin-top: 16px;
        }
        .ant-row{
            border-bottom: 0 !important;
        }
    }
 }
 .rowFirstItem {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    padding-left: 16px;
 }
 .footAddress {
    height:76px;
    background:#fafafa;
    border:1px dotted #e8e8e8;
    padding: 16px 0 0 16px;
    margin-top: 16px;
 }


.bodyContent{
    :global {
        .ant-list-split .ant-list-item {
            border-bottom: 0 !important;
        }
        .ant-table-placeholder {
          display: none
        }
        .ant-list-header {
          border-bottom: 0;
          padding-top: 0;
          padding-bottom: 16px;
        }
        .ant-table-thead {
            > tr > th:nth-child(5) {
                padding:16px 12px;
            }
            > tr > th:nth-child(7) {
                padding-right: 24px
            }
        }
    }
}

.dollor {
  color: #8c8c8c;
  font-size: 12px;
}


.tableListForm {
  :global {
    .ant-form-item {
      display: flex;
      margin-right: 0;
      margin-bottom: 16px;
      label{
        display: inline-block;
        width: 7em;
        text-align: right;
      }
      > .ant-form-item-label {
        width: auto;
        padding-right: 8px;
        line-height: 32px;
      }
      .ant-form-item-control {
        line-height: 32px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

  .buttonLine {
      display: flex;
  }
  .navRow {
      height: 54px;
      line-height: 54px;
      background: #fafafa;
      padding: 0 16px;
      border-bottom: 1px solid #E8E8E8;
      margin-bottom: 16px;
  }
  .listBody{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 16px;
    :global {
        .ant-list-item {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }
        .ant-list-item-content{
            margin-bottom: 0;
        }
      }
  }
  .navtebalRow {
    height: 40px;
    line-height: 40px;
    background: #fafafa;
    padding-left: 16px;
    border-bottom: 1px solid #E8E8E8;
    .orderNo {
        color: #595959;
        >span:last-child {
            margin-left: 8px;
        }
    }
  }
  .navRowItem {
    padding: 0 16px;
    border-bottom: 1px solid #E8E8E8;
    > div {
        border-right: 1px solid #e8e8e8;
        height: 100%;
        padding: 16px;
    }
    // > div:nth-child(4){
    //     width: 120px;
    // }
    > div:last-child {
        border-right: 0;
        // margin-left: 8px;
    }
    >div:first-child {
        padding: 0;
        border-right: 0;
    }
  }
  .listItem {
      display: flex !important;
    //   padding-right: 16px;
      align-items: flex-start;
      :global {
          .ant-list-item-meta {
              flex:3;
              margin-bottom: 0;
          }
          .ant-list-item-content {
              text-align: right
          }
          .ant-avatar {
              width: 64px;
              height: 64px;
              border-radius: 4px
          }
          .ant-list-item-meta-title {
              color: #595959;
              line-height: 22px;
              font-size: 14px;
              font-weight:400;
              margin-bottom: 8px;
              > span {
                word-break: break-all;
                text-overflow: ellipsis;
                display: -webkit-box;
                /*! autoprefixer: off */
                -webkit-box-orient: vertical;
                /*! autoprefixer: on */
                -webkit-line-clamp: 2;
                overflow: hidden;
              }
          }
          .ant-list-item-meta-description  {
            font-size:12px;
            font-weight:400;
            color:#8C8C8C;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
          .ant-list-item-meta-content {
            max-width: 145px;
        }
      }
  }
  .leftItem {
    border-bottom: 1px solid #E8E8E8;
    > div {
        padding: 16px 16px 16px 0;
        border-right: 1px solid #e8e8e8;
        height: 96px;
    }
    > div:last-child {
        padding: 16px 0;
        text-align: center;
        color: #F5222D
    }
  }
  .leftItemNoborder {
    > div {
        padding: 16px 16px 16px 0;
        border-right: 1px solid #e8e8e8;
        height: 96px;
    }
    > div:last-child {
        padding: 16px 0;
        text-align: center;
        color: #F5222D
    }
  }

  .exportModal {
    :global {
        .ant-form-item{
            margin-bottom: 0;
        }
    }
  }
  .rowBody {
    padding-left: 16px;
    :global {
        .ant-form-item{
            margin-bottom: 0;
        }
        .ant-form-item-label {
            text-align: left;
        }
    }
  }
  .radioItem {
      :global {
        .ant-radio-wrapper {
            width: 48px;
        }
      }
  }
  .tagImage {
      width: 20px;
      height: 20px;
      position: absolute;
  }
  .rightTagImage {
    text-align: right;
    padding-right: 16px;
    position: relative;
    .span1 {
        position: absolute;
        top: 4px;
        right: 40px;
        cursor: pointer;
    }
    .span2 {
        position: absolute;
        top: 4px;
        right: 16px;
        cursor: pointer;
    }
  }

  :global{
      .tooltipRoot {
          :global {
            .ant-tooltip-inner {
                background: #fff;
                color: #595959
            }
            .ant-tooltip-arrow {
                border-top-color: #fff !important;
                border-right-color: #fff !important
            }
          }
      }
 
  }
